TREE: the Heuristic Driven Join Strategy of a RETE-Like Matcher
نویسنده
چکیده
TREE is an optimized RETE-like pattern-matching algorithm. It has been designed for a production system whose restricted data formalism leads to a highly combinatorial join step like in SOAR. TREE aims at reducing the join search spaces without using hashing techniques. Its join strategy uses constraint propagation to define the solution space of a join, then a constraint relaxation to determine the index to be used in the join computation. Constraint relaxation is heuristic driven and based on the relational paradigm. Unlike RE IE, the indexing scheme TREE requires is not based on the membership of condition elements but on the sharing of references to symbols. On the basis of experimental evidence, TREE'S strategy showed better results than the standard RETE one. The number of comparisons during join steps has been reduced by a factor ranging from 1 to nearly two orders of magnitude. 1 Introduction Match continues to be a problem for AI systems, especially for general purpose production systems like SOAR [Laird et a/., 1987]. In this kind of systems, a large flexibility in representations is provided through their decomposition into binary relations or into an object-attribute-value paradigm. Consequently, basic data elements are mainly restricted to triples. As pointed out by Tambe and Rosenbloom [1990], this kind of restricted formalism leads to a combinatorial match since a condition element (CE) of a rule can match nearly all the working memory elements (WMEs), and condition parts of rules contain many CEs. Several works attempt to improve match algorithms for such systems. With or without paral-lelism, efficiency gains can be obtained through condi-TREE [Bouaud, 1992] is a state-saving match algorithm that has been designed for K, a production system with a restricted data formalism: WMEs are triples of symbols. TREE aims at reducing the size of join search spaces without using hashing techniques. It differs from RETE [Forgy, 1982] in its indexing scheme which does not rest on "memory support" 1 [McDermott et al., 1978], t.e. based on the CEs, but on the sharing of references to symbols. In this framework, we investigate a new join formulation. A constraint propagation and a heuristic relaxation based on the data paradigm is performed on the CEs in order to select the indexes to be used in the join step computation. These indexes are expected to be smaller than those built up from the CEs. The paper is organized as follows: section 2 …
منابع مشابه
Adaptive optimization of join trees for multi-join queries over sensor streams
Data processing applications for sensor streams have to deal with multiple continuous data streams with inputs arriving at highly variable and unpredictable rates from various sources. These applications perform various operations (e.g. filter, aggregate, join etc) on incoming data streams in real-time according to predefined queries or rules. Since the data rate and data distribution fluctuate...
متن کاملARES: an Adaptively Re-optimizing Engine for Stream Query Processing
Applications dealing with continuous streaming data such as sensor data processing, network traffic engineering, network monitoring, intrusion detection, financial monitoring etc are becoming more and more predominant. Such applications have to deal with multiple continuous data streams with inputs arriving at highly variable and unpredictable rates from various sources. These applications have...
متن کاملSDD-matcher: a semantic-driven data matching framework
A generic semantic-driven data matching framework (SDD-Matcher) has been designed and developed for matching data objects across organizations. It contains matching algorithms at three different levels: string, lexical and graph. The level of graph is also called ontological or conceptual level. Those matching algorithms are the basic building blocks of an SDDMatcher matching strategy, each of ...
متن کاملA Heuristic Approach to Distributed Query Processing
In a distributed database environment, finding the optimal strategy which fully reduces all relations referenced by a general tree query, may take exponential time. Furthermore, since reduced relations are to be moved to the final site, the optimal strategy which fully reduces all relations does not give an optimal solution to the problem of minimizing the total transmission cost. For a general...
متن کاملVoltage Control Strategy for Direct-drive Robots Driven by Permanent Magnet Synchronous Motors
Torque control strategy is a common strategy to control robotic manipulators. However, it becomes complex duo to manipulator dynamics. In addition, position control of Permanent Magnet Synchronous Motors (PMSMs) is a complicated control. Therefore, tracking control of robots driven by PMSMs is a challenging problem. This article presents a novel tracking control of electrically driven robots wh...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1993